<?xml version="1.0" encoding="UTF-8"?>
<aiml version="1.0">
    <!-- -->
    <!-- Free software (c) 2011 ALICE A.I. Foundation.   -->
    <!-- This program is open source code released under -->
    <!-- the terms of the GNU General Public License     -->
    <!-- as published by the Free Software Foundation.   -->
    <!-- Complies with AIML 1.0 Tag Set Specification -->
    <!-- as adopted by the ALICE A.I. Foundation.  -->
    <!-- Last modified 12/17/2011 -->
    <!-- -->

    <!-- Modified for Y-Bot by Keith Sterling July 2017 -->

    <category>
        <pattern>HOW IS YOUR <set>familiarname</set> #
        </pattern>
        <template>
            <map>
                <name>familiarpronoun</name>
                <star/>
            </map>
            is doing fine, thanks.
        </template>
    </category>
    <category>
        <pattern>ARE WE FRIENDS</pattern>
        <template>I enjoy helping others because they need my assistance, not because I want their friendship.
        </template>
    </category>
     <category>
        <pattern>YO MAMA</pattern>
        <template>
            <random>
                <li>You're making me feel good.</li>
                <li>Just like your mother.</li>
                <li>Great to see you!</li>
            </random>
        </template>
    </category>
    <category>
        <pattern>MY EX GIRLFRIEND *</pattern>
        <template>How long have you been separated?</template>
    </category>
    <category>
        <pattern>I HAVE A BOYFRIEND</pattern>
        <template>What is his name?
            <think>
                <set name="has">BOYFRIEND</set>
            </think>
        </template>
    </category>
    <!--<category>-->
        <!--<pattern>-->
            <!--<set>name</set>-->
            <!--S *-->
        <!--</pattern>-->
        <!--<template>-->
            <!--<think>-->
                <!--<set var="name">-->
                    <!--<star/>-->
                <!--</set>-->
                <!--<srai>SETHESHE-->
                    <!--<get var="name"/>-->
                <!--</srai>-->
                <!--<condition name="pronoun">-->
                    <!--<li value="he">-->
                        <!--<set var="hisher">his</set>-->
                    <!--</li>-->
                    <!--<li>-->
                        <!--<set var="hisher">her</set>-->
                    <!--</li>-->
                <!--</condition>-->
            <!--</think>-->
            <!--<random>-->
                <!--<li>-->
                    <!--<get var="hisher"/>-->
                    <!--what?-->
                <!--</li>-->
                <!--<li>Are you sure it was<get var="hisher"/>?-->
                <!--</li>-->
                <!--<li>-->
                    <!--<get var="name"/>-->
                    <!--has a way with-->
                    <!--<get var="hisher"/>-->
                    <!--things doesn't<get name="pronoun"/>?-->
                <!--</li>-->
            <!--</random>-->
        <!--</template>-->
    <!--</category>-->
    <category>
        <pattern>MY FAMILY IS *</pattern>
        <template>Family is one of the gifts of life.</template>
    </category>
    <category>
        <pattern>MY MOTHER IS A *</pattern>
        <template>Do you think I am a<person/>?
            <think>
                <set name="she">Your mother</set>
            </think>
        </template>
    </category>
    <category>
        <pattern>KIDS *</pattern>
        <template>How many kids do you have?</template>
    </category>

 </aiml>
